<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
		<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../../JS/common.js"></script>
	</head>

	<body style="padding: 0px;">
		<div class="easyui-layout" style="width:100%;height:520px;">
			<div id="div_search" data-options="region:'north'" style="height:80px;">

			</div>
			<div data-options="region:'center'">
				<div class="easyui-tabs" id="div_tabs" style="width: 100%">
					<div title="合同信息" style="overflow:hidden">
						<iframe id="ifrmList" src="BIContractList.html" style="width: 100%;height: 350px;" frameborder="0" scrolling="no"></iframe>
					</div>
					<!--<div title="合同变更" style="overflow:hidden">
						<iframe src="BIContractChangeList.html" style="width: 100%;height: 350px;" frameborder="0" scrolling="no"></iframe>
					</div>-->
				</div>
			</div>

		</div>
		<script src="../../../JS/MarketShareFunction/SearchShareFunction.js"></script>
	</body>
	<script type="text/javascript">
		var data = [{
			"name": "客户名称",
			"type": "TENANT_NAME",
			"className": "easyui-combobox",
			"id": "input_TENANT_NAME"
		}, {
			"name": "合同状态",
			"type": "STATE",
			"className": "easyui-combobox",
			"id": "input_STATE"
		}];
		var searchType =SEARCH_ISVERIFY;
		var content = buildSearchOptions(searchType, data);
		$("#div_search").append(content);

		function doSearch() {
			var searchCondition = "";
			searchCondition = processSearchCondition();
			_url = RemoteLinkAddress + '/market/contract/list.do?' + searchCondition;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('options').url = _url;
			$("#ifrmList")[0].contentWindow.$('#dg').datagrid('reload');
		}
		Tabs_Hover();
		
		$("#input_STATE").combobox({
			panelHeight: '80px',
			valueField: 'value',
			textField: 'text',
			data: [{
				value: '到期',
				text: '到期'
			}, {
				value: '在租',
				text: '在租'
			},{
				value: '停租',
				text: '停租'
			}]
		});
		
		
	</script>

</html>